package moonlit.chill.pay.service.impl;

import moonlit.chill.pay.mapper.PayConfigMapper;
import moonlit.chill.pay.service.PayConfigService;
import moonlit.chill.pay.vo.PayConfig;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author MoonlitChill
 * @date 2024/4/15 13:03
 */
@Service
public class PayConfigServiceImpl implements PayConfigService {

    @Autowired
    private PayConfigMapper payConfigMapper;

    @Override
    public List<PayConfig> getPayConfig() {
        return payConfigMapper.getPayConfig();
    }

    @Override
    public List<PayConfig> selectByPayType(String payType) {
        return payConfigMapper.selectByPayType(payType);
    }
}
